GXPrintPage
QuickDraw GX sends theGXPrintPage
message when the data for a page is ready to be spooled. You can override theGXPrintPage
message to modify data sent by an application for printing. Your override of theGXPrintPage
message must match the following formal declaration:
void MyPrintPage (gxFormat aFormat, gxShape aPage);
aFormat
- The format object for the page.
aPage
- The data that belongs on the page in the form of a picture shape.
DESCRIPTION
QuickDraw GX sends this message when an application call theGXPrintPage
function to print a page.You rarely need to override this message. If you wish to modify the data that the application sends, it is preferable to override the
GXSpoolPage
message. This works
for applications that useGXPrintPage
for printing and also for those that use theGXStartPage
/GXDrawShape
/GXFinishPage
sequence for printing.SPECIAL CONSIDERATIONS
You never send theGXPrintPage
message yourself.You must forward the
GXPrintPage
message to other message handlers.SEE ALSO
TheGXPrintPage
function is described in Inside Macintosh: QuickDraw GX Printing.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help